<!doctype html>
<title>Comparing strings</title>

<script>

var firstNumber = 12;
var secondNumber = "12";
	
if(firstNumber === parseInt(secondNumber))
{
  console.log("same");
}
else
{
	console.log("different");
}
	
</script>